TRecordResponse

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > Remotable Records > TRecordResponse

## TRecordResponse

The TRecordResponse Class is used mainly as a generic response in situations that involves records. Generally, this would be the add, delete and edit of records.

class TRecordResponse : public TRemotable{

public:

bool FSuccess;

int FPrimaryKeyValue;

AnsiString FErrorMessage;

__fastcall TRecordResponse();

__published:

__property bool Success = {read=FSuccess};

__property int PrimaryKeyValue = {read=FPrimaryKeyValue};

__property AnsiString ErrorMessage = {read=FErrorMessage};

};

The meaning of a particular TRecordResponse depends on the context from which it was used.

The following descriptions of meaning is meant as a guide:

#### TRecordResponse Property:

Success: This property defines if the function that returned this was successful

PrimaryKeyValue : This property is a generic numeric value. The purpose of this property varies depending on the context it is used.

For example: In an add situation, this would return the user that is associated to the new entry. Delete situations would return nothing.

ErrorMessage : This property will contains and error message if an error is encountered

#

#